package spe.ui.properties;

import org.eclipse.jface.viewers.IFilter;

import spe.model.spem.NodeElement;
import spe.ui.editor.part.NodeElementEditPart;

public class NodeElementFilter implements IFilter 
{
	@Override
	public boolean select(Object anObject) 
	{
		Object input = null;
		if(anObject instanceof NodeElementEditPart)
		{
			input = ((NodeElementEditPart)anObject).getModel();
		}
			
		return (input != null) && (input instanceof NodeElement);
		
		
	}


}
